package com.love.cloud.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.love.cloud.admin.api.entity.SysAttentionApp;
import com.love.cloud.admin.api.entity.SysMenu;

import java.util.List;

/**
 * @author hongdongqu
 */
public interface SysAttentionAppService extends IService<SysAttentionApp> {
    /**
     * 获取到关注的菜单信息
     * @param userId
     * @return
     */
    List<SysMenu> getListByUserId(String userId);

    /**
     * 添加收藏/取消收藏
     * @param sysAttentionApp
     * @return
     */
    Object collection(SysAttentionApp sysAttentionApp);
}
